package Models;

/**
 * Created with IntelliJ IDEA.
 * User: Shreyansh
 * Date: 18/8/13
 * Time: 11:51 PM
 * To change this template use File | Settings | File Templates.
 */
public class User {
    public String userName;
    public String name;
    public String password;
    public String emailId;
    public String phoneNum;
    public User(){

    }
    public User(String uname, String name, String pass, String email, String num)
    {
        this.userName =uname;
        this.name=name;
        this.password=pass;
        this.emailId =email;
        this.phoneNum =num;
    }
    public void PrintUserDetails()
    {
        String heading=String.format("%15s %25s %20s","Name","Email-id","Phone-num");
        System.out.println(heading);
        String memDetail=String.format("%15s %25s %20s",this.name,this.emailId,this.phoneNum);
        System.out.println(memDetail);
    }


}
